package com.hurr.service;

import java.util.Collection;

import com.hurr.bo.User;

/**
 * Service for User logic
 * 
 * @author Fernand Perelli
 * 
 */
public interface UserService {

	/**
	 * Save method
	 * 
	 * @param user
	 * @return User
	 */
	public User save(User user);

	/**
	 * Update method
	 * 
	 * @param user
	 */
	public void update(User user);

	/**
	 * Delete method
	 * 
	 * @param user
	 */
	public void delete(User user);

	/**
	 * Find By Id method
	 * 
	 * @param id
	 * @return User
	 */
	public User findById(Long id);

	/**
	 * Find All method
	 * 
	 * @return Collection<User>
	 */
	public Collection<User> findAll();
}
